package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Student;

import java.util.List;

public interface StudentService {
    void save(Student student);

    void delete(Integer studentno);

    void update(Student student);

    Student findById(Integer studentno);

    PageInfo<Student> findAll(int page, int size);

    List<Student> findByGradeid(Integer gradeid);
}
